package com.wanmait.demo.pojo;

import java.io.Serializable;

public class Permission implements Serializable {
    private Integer id;

    /**
	* 权限名
	*/
    private String permissionName;

    public String getPerssionName() {
        return permissionName;
    }

    public void setPerssionName(String permissionName) {
        this.permissionName = permissionName;
    }

    /**
	* 权限路径
	*/
    private String url;

    /**
	* 权限字符串
	*/
    private String perm;

    private Boolean enble;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }



    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPerm() {
        return perm;
    }

    public void setPerm(String perm) {
        this.perm = perm;
    }

    public Boolean getEnble() {
        return enble;
    }

    public void setEnble(Boolean enble) {
        this.enble = enble;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(permissionName);
        sb.append(", url=").append(url);
        sb.append(", perm=").append(perm);
        sb.append(", enble=").append(enble);
        sb.append("]");
        return sb.toString();
    }
}